from app import app
from modules.login.callbacks import register_callbacks as register_login_callbacks
# from modules.mainwindow.callbacks import register_callbacks as register_main_callbacks
# from modules.map.callbacks import register_callbacks as register_map_callbacks
# from modules.dashboard.callbacks import register_callbacks as register_dashboard_callbacks
# from modules.settings.callbacks import register_callbacks as register_settings_callbacks

# 注册各模块的回调函数
register_login_callbacks(app)
# register_main_callbacks(app)
# register_map_callbacks(app)
# register_dashboard_callbacks(app)
# register_settings_callbacks(app)

if __name__ == '__main__':
    app.run_server(debug=True)